// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import { Button,Input,Switch,Pagination,Message,MessageBox,} from 'element-ui';
import store from './store/index.js'
import router from './router'

Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 };
Vue.prototype.$message = Message;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$msgbox = MessageBox;
Vue.use(Button)
Vue.use(Input)
Vue.use(Switch)
Vue.use(Pagination);

import friendlyDate from '@/helpers/util.js'
Vue.use(friendlyDate)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
